<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">

	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">

<!--							<div th:text="${examinationBatchCom}"></div>-->
							<input  name="id" class="form-control" type="hidden" th:value="${examinationBatchCom.id}">
							<input  name="cbatchId" class="form-control" type="hidden" th:value="${cbatchId}">
							<input  name="ids" class="form-control" type="hidden" th:value="${examinationBatchCom.pId}">
							<div class="form-group">
								<label class="col-sm-3 control-label">赛场名：</label>
								<div class="col-sm-8">
									<select class="form-control" name="name" id="names">
										<option value="">请选择</option>
										<option value="B1-C1">B1-C1</option>
										<option value="B2-C2">B2-C2</option>
										<option value="B3-C3">B3-C3</option>
										<option value="B4-C4">B4-C4</option>
									</select>
									<input type="hidden" id="state" th:value="${examinationBatchCom.name}">
								</div>
							</div>

<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">赛场名：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<input id="name" name="name" placeholder="请输入竞赛名称" class="form-control" type="text">-->
<!--								</div>-->
<!--							</div>-->

							<div class="form-group">
								<label class="col-sm-3 control-label">竞赛开始时间：</label>
								<div class="col-sm-8">
									<input id="startTime" name="startTime" class="form-control" type="text" th:value="${examinationBatchCom.startTime} eq null ? '' : ${#dates.format(examinationBatchCom.startTime, 'yyyy-MM-dd HH:mm:ss')}" placeholder="请选择开始时间" autocomplete="off">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">竞赛结束时间：</label>
								<div class="col-sm-8">
									<input id="endTime" name="endTime" class="form-control" type="text" th:value="${examinationBatchCom.endTime} eq null ? '' : ${#dates.format(examinationBatchCom.endTime, 'yyyy-MM-dd HH:mm:ss')}"  placeholder="请选择结束时间" autocomplete="off">
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="button" onclick="save()" class="btn btn-primary">确定</button>
								</div>
							</div>

						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/xmSelect.js"></script>
	<script type="text/javascript" src="/js/webJs/jzweb/examinationBatchCom/edits.js">
	</script>
</body>
</html>
